package lab02.test37;

public class Undergraduate extends Student  {
    @Override
    String grade() {
        for (i= 0;i<= 2; i++) {
            sum = sum + grade[i];
        }
        sum=sum/3;
        if (sum>=60){
            return "准许授予学士学位";
        }
        else
            return "不授予学士学位";

    }
}


